﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Shell.DomainDot;
using Framework.Poco;

namespace Framework.Domain
{
    public class ArticleByCategoryPairSelector : DomainDotBase<Article>
    {
        public WithOne<Category> Category { private get; set; }

        public Category GetCategory()
        {
            return this.Category.Instance;
        }

        public Article GetArticle()
        {
            return this.Instance;
        }
    }
}
